#include "diffarray.hpp"
#include "tools.hpp"
#include <cstdio>

int main()
{
    auto& ansi = lxj::OpenANSI::instance();
    ansi.set_mode(1).set_color(76);
    lxj::Time time;
    auto&     random = lxj::Random<int>::instance();

    std::vector<int> man{2, 3};
    std::vector<int> point{6, 1};
    int              m = 10;
    {
        lxj::Time t;
        auto      ans = lxj::FallWater()(man, point, m);
        for (auto i : ans) {
            std::printf("%d, ", i);
        }
    }

    std::puts("");
    return 0;
}